<?php

use app\models\ArcKeyword;
use app\models\AsrSeriousness;
use yii\helpers\ArrayHelper;
use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\ArcKeyword */

$asr_name = new AsrSeriousness();
$data = $asr_name->find()->all();

$this->title = '选择';
$this->params['breadcrumbs'][] = ['label' => 'Arc Keywords', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;

?>
<div class="arc-keyword-view">

    <h4>勾选关键字</h4>

    <?php $form = ActiveForm::begin(); ?>
    <?= $form->field($model, 'seriousness_id')->dropDownList(ArrayHelper::map($data,'id', 'names'));?>

    <?php ActiveForm::end(); ?>

</div>
